<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title><%= title %></title>
	<link rel="stylesheet" href="/stylesheets/bootstrap.min.css">
	<link href='https://cdn.webfont.youziku.com/webfonts/nomal/107450/45803/59a915bef629d808084fd878.css' rel='stylesheet'>
	<style>
		.notice_show{
			display: none;
		}
	</style>
</head>
<body style=" padding-top: 70px;">
	<div class="container">
	<h1>RoboCup 招新预登记</h1>
	<div class="alert alert-info" role="alert">在填写信息提交之前，请准确核对你所提供的信息，<b>同一学号仅允许报名一次</b>，如果报名信息提交有误，请在官方群中联系工作人员修改。</div>
	<div class="alert alert-warning notice notice_show" id="notice" role="alert"></div>
	<% if (success) { %>
	<div class="alert alert-success" role="alert"><%= success %></div>
    <% } %>
    <% if (error) { %>
    <div  class="alert alert-warning" role="alert"><b><%= error %></b></div>
    <% } %>
	
	<form method="post">
		<div class="form-group">
			<label for="inputName">姓名(Name)：</label>
			<input type="text" name="name" class="form-control" id="inputName" placeholder="达尔文" required="required">
		</div>
		<div class="form-group">
			<label for="inputstuName">学号(Student-ID)：</label>
			<input type="text" name="stuNum" class="form-control" id="inputstuName" placeholder="AXXXXXXXX" required="required">
		</div>
		<div class="form-group">
			<label for="inputstuQnumber">QQ：</label>
			<input type="tel" name="stuQnumber" class="form-control" id="inputstuQnumber" placeholder="123456789" required="required">
		</div>
		<div class="form-group">
			<label for="inputstuPhone">手机号(Telephone-Number)：</label>
			<input type="tel" name="stuPhone" class="form-control" id="inputstuPhone" placeholder="1234567890" required="required">
		</div>
		<div class="form-group">
			<label for="inputstuMajor">专业(Major)：</label>
			<input type="text" name="stuMajor" class="form-control" id="inputstuMajor" placeholder="计算机科学与技术" required="required">
		</div>
		<div class="form-group">
			<label for="inputstuTeam">意向项目组(Team you want to join)：</label>
			<select name="stuTeam" class="form-control" id="inputstuMajor" list="Team" required="required">
				<option value="家庭仿真组">家庭仿真组 Home-Simulation</option>
				<option value="救援仿真组">救援仿真组 Rescue-Simulation</option>
				<option value="3D仿真组">3D仿真组 3D-Simulation</option>
				<option value="实体组">实体机器人组 Real-Robot</option>
				<option value="水中机器人仿真">水中机器人仿真 Underwater-Robot Simulation</option>
			</select>
		</div>
		<button type="submit" class="btn btn-primary" id="send"><span class="glyphicon glyphicon-send"></span>&nbsp;报名(JOIN US)</button>
	</form>
	</div>
	<script type="text/javascript" src="/javascripts/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>
	<script type="text/javascript" src="/javascripts/inputcheck.js"></script>
</body>
</html>
